import React from "react";
import { Button } from "antd-mobile";
import "./New.less";
import Banner from "../Banner/Banner";
import Coupon from"../Coupon/Coupon";
function New(props) {
  return (
    <div className="new">
      <div className="newPeo">
        <h3>新人专享</h3>
        <p>11</p>
        <span>:</span>
        <p>11</p>
        <span>:</span>
        <p>11</p>
        <Button>查看更多&gt;</Button>
      </div>
      {props.banner.length > 0 ? <Banner {...props}></Banner> : null}
      <Coupon></Coupon>
    </div>
  );
}
export default React.memo(New)